<!DOCTYPE html>
<html lang="en" ng-app>
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" src="../js/angular.min.js" ></script>
    <title></title>
</head>
<body>
    <h3>please input</h3>
    <div ng-controller="userController">
        <input type="text" id="Text1" ng-model="user.name" />
        <div>{{user.name}}</div>
    </div>

    <script type="text/javascript">
        function userController($scope){
            $scope.user = {name : ""};
        }
    </script>
</body>
</html>